<?

list ($_OITC, $_OIT, $_OITP) = array (
		$_OBJECT_IFACE_TABBING_CONTAINER,
		$_OBJECT_IFACE_TABBING,
		$_OBJECT_IFACE_TABBING_PANEL);

list ($_OBJECT_IFACE_TABBING_CONTAINER, $_OBJECT_IFACE_TABBING,
	$_OBJECT_IFACE_TABBING_PANEL) = _app_create_tabbing_container (array (
		tc_tabbing_id=>"tc_inv_ctl"
));

$_OBJECT_IFACE_PANEL->insert_container ($_OBJECT_IFACE_TABBING_CONTAINER);
$_OBJECT_IFACE_TABBING_CONTAINER->insert_container ($_OBJECT_IFACE_TABBING);
$_OBJECT_IFACE_TABBING_CONTAINER->insert_container ($_OBJECT_IFACE_TABBING_PANEL);


	$_OBJECT_TABBING = _app_create_tabbing_object ( array (

	fs_tab_id => "fs_tab",
	fs_tab_key => "supplier_id",
	fs_tab_value => $_REQUEST["supplier_id"],
	fs_tab_default => "inv_ctl_suppliers",
	fs_tab_hide_one => true,
	fs_tabs => array (
		array (label=>"Supplier Information", fs_tab=>"inv_ctl_suppliers",wrapper=>"vmc_tab_inv_ctl_suppliers",
				options=>"fs_tab_option=fs_inv_ctl_suppliers&fs_action=view"),
		array (label=>"Purchase Orders", fs_tab=>"inv_ctl_purchase_orders",wrapper=>"vmc_tab_inv_ctl_purchase_orders",
				options=>""),
		array (label=>"Shipping Methods", fs_tab=>"inv_ctl_shipping_methods",wrapper=>"vmc_tab_inv_ctl_shipping_methods",
				options=>""),
	),
));

$_OBJECT_IFACE_TABBING->insert_container ($_OBJECT_TABBING, 0);

foreach ($_IFACE_CONTROL_OBJECT as $control_object)
	$_OBJECT_IFACE_TABBING_PANEL->insert_container ($control_object);

?>
